<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:79:"D:\phpStudy\WWW\fastAdmin\public/../application/food\view\index\show_value.html";i:1526537398;s:64:"D:\phpStudy\WWW\fastAdmin\application\food\view\common\base.html";i:1526525827;}*/ ?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>
    
    走心更走胃-<?php echo $product->name; ?>

    </title>
    <link rel="stylesheet" type="text/css" href="/static/css/index.css" />
    
    <link rel="stylesheet" href="/static/css/show_value.css">

</head>

<body>
<!--头部开始-->
<header>
    <div class="logo"><img src="/static/images/logo.jpg" alt="" class="lazyload"></div>
    <div class="nav">
        <ul>
            <li><a href="/food">首页</a></li>
            <li><a href="#">关于我们</a></li>
            <li><a href="#">热量计算</a></li>
            <li><a href="food/comment">网站反馈</a></li>
        </ul>
    </div>
    <div class="search">
        <form action="/list">
            <input type="text" name="name">
        </form>
        <img src="/static/images/search.png" class="searchBtn lazyload">
    </div>
    <div class="login">
        <ul>
            <?php if(null ===\think\Session::get('user')): ?>
            <li><a href="<?php echo url('food/auth/register'); ?>">注册</a></li>
            <li><a href="<?php echo url('food/auth/login'); ?>">登录</a></li>
            <?php else: ?>
            <li style="margin-left: -20px;"><a href="#">欢迎您，<?php echo \think\Session::get('user.phone'); ?></a></li>
            <li><a href="/logout">退出</a></li>
            <?php endif; ?>
        </ul>
    </div>
</header>
<!--头部结束-->



<div class="wrapper">
    
        <section class="one">
        	<p><?php echo $product->name; ?></p>
        	<div class="pic">
        		<img src="<?php echo $product->image; ?>" style="width:640px;height:640px;border-radius: 6px;">
        	</div>
        	<div class="mango">
        	<div class="information">
        		<img src="/static/images/big.png">
        		<dl>芒果简介</dl>
        		</div>
        		<dt class="introduction">
                    <?php echo $product->content; ?>
        		</dt>
        		</div>	
        </section>
        <section class="two">
        	<div class="process">
        		<img src="/static/images/big.png">
        		<dl>芒果的家常做法</dl>
        		<div class="make1">
        			<ul>
                        <?php if(is_array($product->makes) || $product->makes instanceof \think\Collection || $product->makes instanceof \think\Paginator): $i = 0; $__LIST__ = $product->makes;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$make): $mod = ($i % 2 );++$i;?>
                        <li><a href="#"><img src="/static/<?php echo $make->image; ?>" alt=""></a>
                            <a href="#"><p><?php echo $make->name; ?></p></a>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
        		</div>
        	</div>
        	<div class="edible">
        		<img src="/static/images/big.png">
        		<dl>芒果的食用宜忌</dl>
                <?php if(is_array($product->features) || $product->features instanceof \think\Collection || $product->features instanceof \think\Paginator): $i = 0; $__LIST__ = $product->features;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$feature): $mod = ($i % 2 );++$i;if($feature['type'] == 0): ?>
                        <?php echo $feature->content; endif; endforeach; endif; else: echo "" ;endif; ?>
        	</div>
        	<div class="nutrition">
        		<div class="edible">
                    <img src="/static/images/big.png">
                    <dl>芒果的营养价值</dl>
                    <?php if(is_array($product->features) || $product->features instanceof \think\Collection || $product->features instanceof \think\Paginator): $i = 0; $__LIST__ = $product->features;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$feature): $mod = ($i % 2 );++$i;if($feature['type'] == 1): ?>
                           <?php echo $feature->content; endif; endforeach; endif; else: echo "" ;endif; ?>
        	    </div>
            </div>
        </section>

    <footer>
        <!--底部开始-->
        <div class="line">
            <h3>走胃更走心---吃得健康又营养!</h3>
        </div>
        <p class="link">友情链接: <a href="http://life.iqiyi.com/">爱奇艺生活</a> <a href="http://www.zhms.cn/">中华美食网</a>
            <a href="http://www.pcbaby.com.cn/">太平洋亲子网</a> <a href="http://food.poco.cn/">POCO美食网</a>
            <a href="http://www.21food.cn/">食品商务网</a> <a href="http://www.mama.cn/">妈妈网</a>
            <a href="http://www.39yst.com/">三九养生堂</a> <a href="http://www.258.com/">企业服务平台</a>
            <a href="http://www.yidianzixun.com/">一点资讯</a> <a href="http://www.hc360.com/">慧聪网</a>
        </p>
        <p class="copyright">版权所有 © 2004-2019 走心更走胃 保留所有权利</p>
        <!--底部结束-->
    </footer>
</div>
<script src="/static/js/jquery-1.11.1.js"></script>
<script src="/static/js/slider.min.js"></script>
<script type="text/javascript" src="//cdn.bootcss.com/jquery.lazyload/1.9.1/jquery.lazyload.min.js" ></script>

</body>
</html>